//
//  UrlRequestManager.h
//  Project_ZFR_MUSIC
//
//  Created by 张福润 on 16/2/29.
//  Copyright © 2016年 张福润. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,requestUrlType){
    GET,
    POST
};
typedef void(^successBlock) (id item);
typedef void(^faileBlock) (NSError *err);
@interface UrlRequestManager : NSObject


+(instancetype)shareUrlRequsetManager;



+(void)requestWith:(requestUrlType)Type
               URL:(NSString *)URL
         condition:(NSDictionary *)condition
      SuccessBlock:(successBlock)successBlock
             faile:(faileBlock)faileBlock;



@end
